/*
               File: Estado
        Description: Estado
             Author: GeneXus C# Generator version 10_2_5-78484
       Generated on: 6/6/2014 9:53:21.28
       Program type: Callable routine
          Main DBMS: sqlserver
*/
using System;
using System.Collections;
using GeneXus.Utils;
using GeneXus.Resources;
using GeneXus.Application;
using GeneXus.Metadata;
using GeneXus.Data;
using GeneXus.Data.ADO;
using GeneXus.Data.NTier;
using GeneXus.Data.NTier.ADO;
using System.Runtime.Remoting;
using GeneXus.XML;
using GeneXus.Search;
using GeneXus.Encryption;
using GeneXus.Http.Client;
using System.Xml.Serialization;
using System.Data.SqlTypes;
using System.ServiceModel;
using System.Runtime.Serialization;
namespace GeneXus.Programs {
   public class gxdomainestado
   {
      private static Hashtable domain = new Hashtable();
      static gxdomainestado ()
      {
         domain["AC"] = "AC";
         domain["AL"] = "AL";
         domain["AP"] = "AP";
         domain["AM"] = "AM";
         domain["BA"] = "BA";
         domain["CE"] = "CE";
         domain["DF"] = "DF";
         domain["ES"] = "ES";
         domain["GO"] = "GO";
         domain["MA"] = "MA";
         domain["MT"] = "MT";
         domain["MS"] = "MS";
         domain["MG"] = "MG";
         domain["PA"] = "PA";
         domain["PB"] = "PB";
         domain["PR"] = "PR";
         domain["PE"] = "PE";
         domain["PI"] = "PI";
         domain["RJ"] = "RJ";
         domain["RN"] = "RN";
         domain["RS"] = "RS";
         domain["RO"] = "RO";
         domain["RR"] = "RR";
         domain["SC"] = "SC";
         domain["SP"] = "SP";
         domain["SE"] = "SE";
         domain["TO"] = "TO";
      }

      public static string getDescription( IGxContext context ,
                                           String key )
      {
         string rtkey ;
         rtkey = StringUtil.Trim( (String)(key));
         return (string)domain[rtkey] ;
      }

      public static GxSimpleCollection getValues( )
      {
         GxSimpleCollection value = new GxSimpleCollection();
         ArrayList aKeys = new ArrayList(domain.Keys);
         aKeys.Sort();
         foreach (String key in aKeys)
         {
            value.Add(key);
         }
         return value;
      }

   }

}
